<?php

class Control_DatePicker extends QUI_Control_Abstract
{
    function render()
    {
        $class = $this->_extract('class');
        $id    = $this->id();
        $name  = $this->name();
        $value = $this->value;

        $out = <<<EOT
<input id="{$id}" name="{$name}" type="text" class="date_picker {$class}" maxlength="10" value="{$value}" />

EOT;

        return $out;
    }
}

